package cn.zshprint.serein.service;

import cn.zshprint.serein.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface PermissionService extends IService<Permission> {

    Permission selectOne(Integer id);

    List<Permission> selectAll();

    List<Permission> selectByUser(String username);

    Integer saveOne(String description);

    Integer deleteOne(Integer id);
}
